package com.woniu.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerOrder {
    @TableId(type = IdType.ASSIGN_UUID)//uuid
    private String id;//记录id
    private String customerPhone;//投资者电话
    private Integer tenderId;//投资标的id
    private BigDecimal investmentAmount;//投资收益金额
    private Timestamp investmentTime;//投资时间
    private Integer status;//投资状态
    private BigDecimal loseMoney; //投资金额
}
